package api

import (
	"go.uber.org/zap"
	"goshell.straysh.com/internal/conf"
)

// WorkerService 读日志流服务
type WorkerService struct {
	config *conf.Bootstrap
	log    *zap.Logger
}

// NewWorkerService 实例化
func NewWorkerService(config *conf.Bootstrap, logger *zap.Logger) *WorkerService {
	return &WorkerService{
		config: config,
		log:    logger,
	}
}

// AnsibleService ansible脚本服务
type AnsibleService struct {
	config *conf.Bootstrap
	log    *zap.Logger
}

// NewAnsibleService 实例化
func NewAnsibleService(config *conf.Bootstrap, logger *zap.Logger) *AnsibleService {
	return &AnsibleService{
		config: config,
		log:    logger,
	}
}
